package com.jrew.gae.wcs.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 *
 */
@Entity
@Table(name="PLAYERS_STATS")
public class PlayerStats implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1729759310520399162L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE)
	private Long id;
	@Column(name="PLAYER_ID")
	private long playerId;
	@Column(name="PLAYER_NAME")
	private String playerName;
	@Column(name="LEVEL")
	private int level;
	@Column(name="LOCALE")
	private String locale;
	@Column(name="SCORES")
	private int scores;

	public PlayerStats() {}
	
	/**
	 * @return
	 */
	public Long getId() {
		return id;
	}
	
	/**
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * @return
	 */
	public long getPlayerId() {
		return playerId;
	}

	/**
	 * @param playerId
	 */
	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}

	/**
	 * @return
	 */
	public String getPlayerName() {
		return playerName;
	}
	
	/**
	 * @param playerName
	 */
	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}
	
	/**
	 * @return
	 */
	public int getLevel() {
		return level;
	}
	
	/**
	 * @param level
	 */
	public void setLevel(int level) {
		this.level = level;
	}
	
	/**
	 * @return
	 */
	public String getLocale() {
		return locale;
	}
	
	/**
	 * @param locale
	 */
	public void setLocale(String locale) {
		this.locale = locale;
	}
	
	/**
	 * @return
	 */
	public int getScores() {
		return scores;
	}
	
	/**
	 * @param scores
	 */
	public void setScores(int scores) {
		this.scores = scores;
	}
}
